<template>
  <div>
    <div class="layout-left"><slot name="left"></slot></div>
    <div class="layout-right"><slot name="right"></slot></div>
    <div class="layout-bottom" v-if="isbottom"><slot name="bottom"></slot></div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      
    };
  },
  props: {
    active: {
      type: Number,
      default: 0
    }
  },
  computed: {
    isbottom() {
      return this.active != 2
    }
  },
  mounted() {
    
  },

  methods: {
    
  },
};
</script>

<style lang="scss" scoped>
.layout-left {
  background-color: rgba(3, 19, 60, 0.9);
  width: 25rem;
  height: calc(100% - 6.25rem);
  position: absolute;
  top: 5.625rem;
  left: 0;
}
.layout-right {
  background-color: rgba(3, 19, 60, 0.9);
  width: 25rem;
  height: calc(100% - 6.25rem);
  position: absolute;
  top: 5.625rem;
  right: 0;
}
.layout-bottom {
  background-color: rgba(3, 19, 60, 0.9);
  width: 68.75rem;
  height: 13.75rem;
  position: absolute;
  bottom: 0.625rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}
</style>